package com.max.back.examination.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.max.back.entity.Check;
import com.max.back.examination.dao.CheckDao;
import com.max.back.examination.form.CheckFrom;
import com.max.back.examination.service.CheckService;
import com.max.back.pharmacy.dao.CodeNameDao;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hanfeng
 * @date 2022/7/21
 */
@Service
public class CheckServiceImpl  extends ServiceImpl<CheckDao, Check> implements CheckService{


    /**
     *
     * @return
     */
    @Override
    public List<CheckFrom> getChecklist(String title) {
        return baseMapper.getChecklist(title);
    }

    /**
     * 录入检查结果
     * @param checkItemId
     * @param result
     */
    @Override
    public void edit(String checkItemId, String result) {
         baseMapper.edit(checkItemId,result);
    }
}
